package com.lijinjiang.model;

import java.time.LocalDateTime;
/**
 * @Description 当地时间日期模型
 * @Author lijinjiang
 * @Date 2024-12-30 10:52
 */
public class LocalDateTimeModel extends AbstractDateModel<LocalDateTime> {

    public LocalDateTimeModel() {
        this(null);
    }

    public LocalDateTimeModel(LocalDateTime value) {
        super();
        setValue(value);
    }

    @Override
    protected LocalDateTime toLocalDateTime(LocalDateTime dateTime) {
        return dateTime;
    }

    @Override
    protected LocalDateTime fromLocalDateTime(LocalDateTime dateTime) {
        return dateTime;
    }
}